import Vue from 'vue';
import Vuex from 'vuex';
import user from './modules/user';
import normal from './modules/normal';
import common from './modules/common';
import permit from './modules/permit';
import getters from './getters';

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    user,
    normal,
    common,
    permit
  },
  getters
});
